package com.poly.flowable.mapper;

import com.poly.flowable.pojo.dto.FlowProcDefDTO;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * 流程定义查询
 *
 * @author Yang Huijing
 * @email
 * @date 2022/1/29 5:44 下午
 **/
public interface FlowDeployMapper {

    /**
     * 流程定义列表
     * @param name
     * @return
     */
    List<FlowProcDefDTO> selectDeployList(@Param("name") String name, @Param("category") String category);

    FlowProcDefDTO selectDeployByCategory(@Param("category") String category);

    HashMap<String,Object> getDeployByFormId(@Param("formId") Long formId);
}
